import request from '@/utils/request';

export async function getPickingOverViewByPage (params: any) {
    return request('/api/product/getPickingOverViewByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addPickingOverView (params: any) {
    return request('/api/product/addPickingOverView', {
    method: 'POST',
    data: params,
  });
}

export async function updatePickingOverView (params: any) {
    return request('/api/product/updatePickingOverView', {
    method: 'POST',
    data: params,
  });
}

export async function delPickingOverView (params: any) {
    return request('/api/product/delPickingOverView', {
    method: 'POST',
    data: params,
  });
}


export async function exportPickingOverView(params: any) {
    return request('/api/product/exportPickingOverView', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getPickingOverViewByPage, addPickingOverView, updatePickingOverView, delPickingOverView, exportPickingOverView }
